<div class="page page-form" data-ng-controller="addIncome">
<div class="panel panel-default">
    <div class="panel-heading"><strong><span class="glyphicon glyphicon-th"></span>&nbsp;&nbsp;&nbsp;&nbsp;添加收入</strong></div>
    <div class="panel-body"  data-ng-controller="signupCtrl">
        <div class="form-group has-error has-feedback input-lg" style="height:30px;text-align: center;"><label data-ng-hide="isHide" class="control-label">添 加 失 败</label></div>
        <form name="form_signup" class="col-md-10 form-horizontal form-validation" data-ng-submit="addIncome()">
            <div class="form-group">
                <div class="col-sm-3" style="text-align: right;">
                    <label>金额</label>
                </div>
                <div class="col-sm-9">
                    <input id="incomeMoney"  type="text"
                            class="form-control"
                            data-ng-model="incomeForm.money"
                            placeholder="数字或小数 单位为元"
                            data-ng-maxlength="10"
                            data-ng-keyup="invalidMoney()"
                            required>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-3" style="text-align: right;">
                    <label>摘要</label>
                </div>
                <div class="col-sm-9">
                    <input type="text"
                           class="form-control"
                           data-ng-model="incomeForm.remark"
                           >
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-3" style="text-align: right;">
                    <label>备注</label>
                </div>
                <div class="col-sm-9">
                    <input type="text"
                           class="form-control"
                           data-ng-model="incomeForm.note"
                           >
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-3" style="text-align: right;">
                </div>
                <div class="col-sm-9">
                    <button type="submit" data-ng-disabled="incomeInvalid"
                            class="btn btn-info btn-block btn-lg"
                            >保存</button>
                </div>
            </div>
            <br/>
        </form>
    </div>
</div>
</div>